<!--
 * @Author: guojinxin_hub 1907745233@qq.com
 * @Date: 2024-09-13 15:44:40
 * @LastEditors: guojinxin_hub 1907745233@qq.com
 * @LastEditTime: 2024-09-20 16:21:48
 * @FilePath: \new-yongqing\src\Views\home\Govern\components\Left.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <Left_box>
    <LeaseTitle imgSrc="sheshi.png">公共设施</LeaseTitle>
    <div style="margin-left: 38px; margin-top: 4px">
      <SubTitle title-text="城市市政设施情况" :width="312" />
      <div class="container-column">
        <div class="column">
          <FacilitiesCondition
            imgSrc="facilities_one.png"
            name="年末实有道路长度"
            value="66,666"
            unit="km"
          />
          <FacilitiesCondition
            imgSrc="facilities_two.png"
            name="城市排水管道长度"
            value="338"
            unit="个"
          />
          <FacilitiesCondition
            imgSrc="facilities_three.png"
            name="城市污水日处理能力"
            value="338"
            unit="个"
          />
        </div>
        <div class="column" style="justify-items: end">
          <FacilitiesCondition
            imgSrc="facilities_four.png"
            name="年末实有道路面积"
            value="1,666"
            unit="km²"
          />
          <FacilitiesCondition
            imgSrc="facilities_five.png"
            name="城市桥梁数量"
            value="468"
            unit="个"
          />
          <FacilitiesCondition
            imgSrc="facilities_six.png"
            name="城市公共服务设施"
            value="468"
            unit="个"
          />
        </div>
       
      </div>
      <div style="margin-top: 67px">
          <SubTitle title-text="城市供水情况" :width="312" />
          <V3Echarts
            :height="790"
            :width="602"
            :options="Option1()"
            container="Option1"
          ></V3Echarts>
        </div>
    </div>
  </Left_box>
</template>

<script lang="ts" setup>
import Left_box from '@/components/left_box.vue'
import LeaseTitle from '@/components/Lease_title/index.vue'
import SubTitle from '@/components/SubTitle/SubTitle.vue'
import FacilitiesCondition from '@/components/home/FacilitiesCondition.vue'
import { Option1 } from './echartsoptions'

</script>

<style lang="scss" scoped>
.container-column {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 将容器分成两列 */
  width: 602px;
  .column {
    display: grid;
    align-items: center;
    grid-template-rows: 1fr 1fr 1fr;
  }
}
</style>
